<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #F8F9FA;
}
-->
</style>
<script type="text/javascript">
  function checkForm(){
    var F = document.form1;
    if( !F.goods_name.value ){
      alert("请输入商品名称");
      return false;
    }
    if( !F.goods_path.value ){
      alert("请输入商品地址");
      return false;
    }
    F.submit();
  }

  function relation(id){
    location.href = "__URL__/userAdd/proCode/"+id;
  }
</script>
<link href="__PUBLIC__/Admin/Css/skin.css" rel="stylesheet" type="text/css" />
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="17" height="29" valign="top" background="__PUBLIC__/Admin/images/mail_leftbg.gif"><img src="__PUBLIC__/Admin/images/left-top-right.gif" width="17" height="29" /></td>
    <td width="100%s" height="29" valign="top" background="__PUBLIC__/Admin/images/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
        <td height="31"><div class="titlebt">用户管理</div></td>
      </tr>
    </table></td>
    <td width="16" valign="top" background="__PUBLIC__/Admin/images/mail_rightbg.gif"><img src="__PUBLIC__/Admin/images/nav-right-bg.gif" width="16" height="29" /></td>
  </tr>
  <tr>
    <td height="71" valign="middle" background="__PUBLIC__/Admin/images/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9">
      <table width="100%" height="138" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td height="13" valign="top">&nbsp;</td>
        </tr>
        <tr>
          <td valign="top">
            <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td class="left_txt">当前位置：添加用户</td>
              </tr>
              <tr>
                <td>&nbsp;</td>
              </tr>
              <tr>
                <td>
                  <table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="nowtable">
                    <tr>
                      <td class="left_bt2">&nbsp;&nbsp;&nbsp;&nbsp;用户设置</td>
                    </tr>
                  </table>
                </td>
              </tr>
              <tr>
                <td>
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    			        <form name="form1" method="POST" action="__URL__/goodsAdd" enctype="multipart/form-data" >
                    <tr>
                      <td width="20%" height="30" align="right" bgcolor="#f2f2f2" class="left_txt2">用户名称：</td>
                      <td width="3%" bgcolor="#f2f2f2">&nbsp;</td>
                      <td width="32%" height="30" bgcolor="#f2f2f2">
                        <input name="user_name" type="text" size="30" value="{$editInfo[0].user_name}"/>
                      </td>
                      <td width="45%" height="30" bgcolor="#f2f2f2" class="left_txt">用户登录名称(邮箱形式)</td>
                    </tr>
                    <tr>
                      <td width="20%" height="30" align="right" class="left_txt2">用户昵称：</td>
                      <td width="3%">&nbsp;</td>
                      <td width="32%" height="30">
                        <input name="goods_path" type="text" size="30" value="{$editInfo[0].goods_path}"/>
                      </td>
                      <td width="45%" height="30" class="left_txt">用户昵称</td>
                    </tr>
                    <tr>
                      <td width="20%" height="30" align="right" class="left_txt2">用户密码：</td>
                      <td width="3%">&nbsp;</td>
                      <td width="32%" height="30">
                        <input name="user_pass" type="text" size="30" />
                      </td>
                      <td width="45%" height="30" class="left_txt">用户密码</td>
                    </tr>
                    <tr>
                      <td width="20%" height="30" align="right" class="left_txt2">确认密码：</td>
                      <td width="3%">&nbsp;</td>
                      <td width="32%" height="30">
                        <input name="user_check_pass" type="text" size="30" />
                      </td>
                      <td width="45%" height="30" class="left_txt">确认密码</td>
                    </tr>
                    <tr>
                      <td width="20%" height="30" align="right" class="left_txt2">用户类型：</td>
                      <td width="3%">&nbsp;</td>
                      <td width="32%" height="30">
                        <select name="user_type">
                          <option value='1'>前端用户</option>
                          <option value='2'>后端用户</option>
                        </select> 
                      </td>
                      <td width="45%" height="30" class="left_txt">用户登录类型，前端与后端用户</td>
                    </tr>
                    <tr>
                      <td width="20%" height="30" align="right" class="left_txt2">用户性别：</td>
                      <td width="3%">&nbsp;</td>
                      <td width="32%" height="30" class="left_txt2">
                        <input name="user_sex" type="radio" value="0" checked/>女&nbsp;&nbsp;
                        <input name="user-sex" type="radio" value="1">男
                      </td>
                      <td width="45%" height="30" class="left_txt">用户性别</td>
                    </tr>
                    <tr>
                      <td width="20%" height="30" align="right" class="left_txt2">用户省份：</td>
                      <td width="3%">&nbsp;</td>
                      <td width="32%" height="30">
                        <select name="user_province" onchange="relation(this.value);">
                          <volist name='prolist' id='vo'>
                            <option value="{$vo.province_code}" <eq name="vo.province_code" value="$proCode">selected</eq>>{$vo.province_name}</option>
                          </volist>
                        </select> 
                      </td>
                      <td width="45%" height="30" class="left_txt">用户所在省份</td>
                    </tr>
                    <tr>
                      <td width="20%" height="30" align="right" class="left_txt2">用户城市：</td>
                      <td width="3%">&nbsp;</td>
                      <td width="32%" height="30">
                        <select name="user_type">
                          <volist name='citylist' id='vo'>
                            <option value="{$vo.city_code}">{$vo.city_name}</option>
                          </volist>
                        </select> 
                      </td>
                      <td width="45%" height="30" class="left_txt">用户所在城市</td>
                    </tr>
                    <tr>
                      <td width="100%" height="30" align="center" colspan="4">&nbsp;</td>
                    </tr>
                    <tr>
                      <td width="100%" height="30" align="center" colspan="4">
                        <input type="hidden" value="{$editCode}" name="goods_code">
                        <input type="submit" value="确 认" name="B1" onclick="checkForm();" />&nbsp;&nbsp;&nbsp;&nbsp;
                        <input type="reset" value="重 置" name="B12" />
                      </td>
                    </tr>
                  </form>
                  </table>
                </td>
              </tr>   
            </table>
          </td>
        </tr> 
      </table>
   </td>
    <td background="__PUBLIC__/Admin/images/mail_rightbg.gif">&nbsp;</td>
  </tr>
  <tr>
    <td valign="middle" background="__PUBLIC__/Admin/images/mail_leftbg.gif"><img src="__PUBLIC__/Admin/images/buttom_left2.gif" width="17" height="17" /></td>
      <td height="17" valign="top" background="__PUBLIC__/Admin/images/buttom_bgs.gif"><img src="__PUBLIC__/Admin/images/buttom_bgs.gif" width="17" height="17" /></td>
    <td background="__PUBLIC__/Admin/images/mail_rightbg.gif"><img src="__PUBLIC__/Admin/images/buttom_right2.gif" width="16" height="17" /></td>
  </tr>
</table>

</body>
